home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15779 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: news.tdl.com!news
  2. From: Martin Moore <moore@tdl.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: BC++5.0 Program doesn't compile (see text)
  5. Date: Sat, 06 Apr 1996 19:46:35 -0800
  6. Organization: FlexSoft, Dublin CA.
  7. Message-ID: <31673A9B.AA@tdl.com>
  8. References: <31643314.794BDF32@nac.telco.com> <craigaDpEqDq.1DI@netcom.com> <marnoldDpFnn3.9FE@netcom.com>
  9. NNTP-Posting-Host: tdl-dyn48.tdl.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (Win95; I)
  14.  
  15. Matt Arnold wrote:
  16. > craiga@netcom.com (Craig Arnush) writes:
  17. > >Martin Moore <moore@nac.telco.com> writes:
  18. > >>
  19. > >>I cannot get the following program to compile...can anyone else?
  20. > >>
  21. > >>#include "vector.h"
  22. > >>using namespace std;
  23. > >>vector<long> test;
  24. > Can you elaborate on "cannot get...to comiple"?  What kind of error
  25. > messages or other symptoms are you getting?  And, what compiler are
  26. > you using?
  27.  
  28. The error message from Borland C++ 5.0 (with patch BC50P1 installed) is 
  29. "Access Violation: Address 0x blah blah blah" (my "blah"'s since the 
  30. address is irrelevant). This is a compile time error, not a run time 
  31. error, that is, it appears where warnings and true compile errors 
  32. appear. 
  33. This is really not a question addressing whether the program is 
  34. syntactically correct. It is a question to anyone who has the same 
  35. compiler and patch applied. Sorry for not making that clear. 
  36.  
  37. If you have that compiler (and possibly the patch), does it compile that 
  38. snippet? Mine doesn't...and I wonder why, though I suspect the compiler 
  39. is broken in this instance.
  40.  
  41.  
  42.  
  43. -- 
  44. Martin Moore    email:  moore@tdl.com   
  45. FlexSoft //// Technical Analysis and Quote Downloaders
  46. Technical Analysis Scanner (TAS) & Personal Ticker Tape (PTT)
  47. FlexSoft WEB Page http://www.flexsoft.com
  48. ftp at            ftp://ftp.tdl.com/pub/moore
  49.